These are stories of wisdom and morals written around 300 B.C in a language called Pali. They were later translated and distributed to people across the world.
These stories connected to the past incarnations of the Buddha are meant to teach values like self-sacrifice, honesty and morality.